package com.hj.system.common.controller;

import com.hj.system.base.utils.ShiroUtils;
import com.hj.system.system.domain.UserDO;

public class BaseController {
	public UserDO getUser() {
		return ShiroUtils.getUser();
	}

	public String getUserId() {
		return getUser().getUserId();
	}

	public String getUsername() {
		return getUser().getUsername();
	}
}